package com.xls.dormitoryservice.entity;

import com.xls.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Building对象", description="")
public class Building extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "父级id")
    private Long pid;

    @ApiModelProperty(value = "描述")
    private String name;

    @ApiModelProperty(value = "排序")
    private Integer sort;

}
